<?php

namespace App\Jobs;

use App\Models\GoldRound;
use Illuminate\Bus\Queueable;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Redis;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Contracts\Queue\ShouldBeUnique;

class InitGoldStormJob implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
    
    public $round;
    
    public function __construct(GoldRound $round)
    {
    	$this->round = $round;
    }
	
	public function handle()
    {
	    $this->round->makeCache();
    }
}
